package net.lab1024.sa.admin.module.business.exam.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 课程分类 实体类
 *
 * @Author AKITA
 * @Date 2025-06-06 11:28:07
 * @Copyright AKITA
 */

@Data
@TableName("paper")
public class PaperEntity {

    @TableId(type = IdType.AUTO)
    private Long docEntry;
    private Long objId;
    private String objName;
    private String docStatus;
    private Integer absId;
    private boolean approved;
    private String remark;
    @Version
    private Integer version;


    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    private String paperName;
    private String markPaperType;
    private String examSubject;
    private BigDecimal examTime;
    private BigDecimal examScore;
    private BigDecimal passLine;
    private Integer queTypeSor;
    private String attachment;
    private String attachmentHref;
    @TableField(exist = false)
    private List<PaperaEntity> lista;

}
